
#ifndef __TREE_VIEW_HPP__
#define __TREE_VIEW_HPP__

#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <string>

class Fl_Tree;
namespace m3g
{
    class Group;
}

namespace m3g_viewer
{
    class MainView;

/**
 * 
 */
class TreeView : public Fl_Window
{
public:
    TreeView (MainView* main_view, int x, int y);
    virtual ~TreeView ();

    void register_tree_item (Fl_Tree* tree, m3g::Group* grp, std::string hierarchy);


    MainView* main_view;
};


#endif


} // namespace m3g_viewer
